package com.ruoyi.plot.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 小区详情对象 atb_plot_detail
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class AtbPlotDetail extends BaseEntity
{
//    private static final long serialVersionUID = 1L;

    /** 小区id */
    @Excel(name = "小区id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long plotId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String plotName;

    /** 物业类型 */
    @Excel(name = "物业类型")
    private String plotType;

    /** 竣工时间 */
    @Excel(name = "竣工时间")
    private String overTime;

    /** 绿化率 */
    @Excel(name = "绿化率")
    private BigDecimal plotGreen;

    /** 建筑类型 */
    @Excel(name = "建筑类型")
    private String buildType;

    /** 小区地址 */
    @Excel(name = "小区地址")
    private String plotAddress;

    /** 省 */
    @Excel(name = "省")
    private Long city1;

    /** 市 */
    @Excel(name = "市")
    private Long city2;

    /** 区 */
    @Excel(name = "区")
    private Long city3;

    /** 房屋价格 */
    @Excel(name = "房屋价格")
    private BigDecimal homePrice;

    /** 可出售数量 */
    @Excel(name = "可出售数量")
    private Long sellNum;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long isExamine;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long isPutaway;

    /** 地址经度 */
    @Excel(name = "地址经度")
    private String addressLongitude;

    /** 地址纬度 */
    @Excel(name = "地址纬度")
    private String addressLatitude;

    public void setPlotId(Long plotId) 
    {
        this.plotId = plotId;
    }

    public Long getPlotId() 
    {
        return plotId;
    }
    public void setPlotName(String plotName) 
    {
        this.plotName = plotName;
    }

    public String getPlotName() 
    {
        return plotName;
    }
    public void setPlotType(String plotType) 
    {
        this.plotType = plotType;
    }

    public String getPlotType() 
    {
        return plotType;
    }
    public void setOverTime(String overTime) 
    {
        this.overTime = overTime;
    }

    public String getOverTime() 
    {
        return overTime;
    }
    public void setPlotGreen(BigDecimal plotGreen) 
    {
        this.plotGreen = plotGreen;
    }

    public BigDecimal getPlotGreen() 
    {
        return plotGreen;
    }
    public void setBuildType(String buildType) 
    {
        this.buildType = buildType;
    }

    public String getBuildType() 
    {
        return buildType;
    }
    public void setPlotAddress(String plotAddress) 
    {
        this.plotAddress = plotAddress;
    }

    public String getPlotAddress() 
    {
        return plotAddress;
    }
    public void setCity1(Long city1) 
    {
        this.city1 = city1;
    }

    public Long getCity1() 
    {
        return city1;
    }
    public void setCity2(Long city2) 
    {
        this.city2 = city2;
    }

    public Long getCity2() 
    {
        return city2;
    }
    public void setCity3(Long city3) 
    {
        this.city3 = city3;
    }

    public Long getCity3() 
    {
        return city3;
    }
    public void setHomePrice(BigDecimal homePrice) 
    {
        this.homePrice = homePrice;
    }

    public BigDecimal getHomePrice() 
    {
        return homePrice;
    }
    public void setSellNum(Long sellNum) 
    {
        this.sellNum = sellNum;
    }

    public Long getSellNum() 
    {
        return sellNum;
    }
    public void setIsExamine(Long isExamine) 
    {
        this.isExamine = isExamine;
    }

    public Long getIsExamine() 
    {
        return isExamine;
    }
    public void setIsPutaway(Long isPutaway) 
    {
        this.isPutaway = isPutaway;
    }

    public Long getIsPutaway() 
    {
        return isPutaway;
    }
    public void setAddressLongitude(String addressLongitude) 
    {
        this.addressLongitude = addressLongitude;
    }

    public String getAddressLongitude() 
    {
        return addressLongitude;
    }
    public void setAddressLatitude(String addressLatitude) 
    {
        this.addressLatitude = addressLatitude;
    }

    public String getAddressLatitude() 
    {
        return addressLatitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("plotId", getPlotId())
            .append("plotName", getPlotName())
            .append("plotType", getPlotType())
            .append("overTime", getOverTime())
            .append("plotGreen", getPlotGreen())
            .append("buildType", getBuildType())
            .append("plotAddress", getPlotAddress())
            .append("city1", getCity1())
            .append("city2", getCity2())
            .append("city3", getCity3())
            .append("homePrice", getHomePrice())
            .append("sellNum", getSellNum())
            .append("isExamine", getIsExamine())
            .append("isPutaway", getIsPutaway())
            .append("addressLongitude", getAddressLongitude())
            .append("addressLatitude", getAddressLatitude())
            .append("createTime", getCreateTime())
            .toString();
    }
}
